<?php
include_once '../Class/DB.php';
$db=new DB();
$pid=$_GET["id"];
$page=$_GET["page"];
$db->delete_pid($pid);
//header("Location:productList.php?page=$page");
//exit();
?>
<script language="JavaScript">
var page='<?php print_r($page);?>';
window.location.href="productList.php?page="+page;
</script>
